package com.ddstation.onsitelaw.mapper;

import com.ddstation.onsitelaw.entity.DtInvsManageInstitutionEntity;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

/**
 * @author 忆秋枫
 */
public interface DtInvsManageInstitutionMapper extends Mapper<DtInvsManageInstitutionEntity> {

    /**
     * 根据id获取信息
     * @param id
     * @return DtInvsManageInstitutionEntity 对象信息
     */
    DtInvsManageInstitutionEntity selectById(String id);

    /**
     * 根据地区code获取信息
     * @param province 省
     * @param city 市
     * @param county 县/区
     * @return List<DtInvsManageInstitutionEntity> 对象信息
     */
    List<DtInvsManageInstitutionEntity> selectByAddress(@Param("province")String province, @Param("city")String city, @Param("county")String county);

}